package com.sping.gobang.exception;

import lombok.Data;

@Data
public class UserException extends RuntimeException{
    private String errMsg;
    private int code;

    public UserException(String errMsg, int code) {
        this.errMsg = errMsg;
        this.code = code;
    }

    public UserException(String errMsg) {
        this.errMsg = errMsg;
    }
}
